package com.base.service.impl;

import com.base.mapper.voipmapper.AboutsMapper;
import com.base.mapper.voipmapper.ReplacementPayFallMapper;
import com.base.po.replacement.ReplacementPayFall;
import com.base.po.replacement.ReplacementPayFallExample;
import com.base.po.voip.Abouts;
import com.base.po.voip.AboutsExample;
import com.base.service.AboutsService;
import com.base.service.ReplacementPayFallService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("replacementPayFallService")
public class ReplacementPayFallServiceImpl implements ReplacementPayFallService {
	
	@Autowired
	private ReplacementPayFallMapper replacementPayFallMapper;


	@Override
	public int countByExample(ReplacementPayFallExample example) {
		return replacementPayFallMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ReplacementPayFallExample example) {
		return replacementPayFallMapper.deleteByExample(example);
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		return replacementPayFallMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(ReplacementPayFall record) {
		return replacementPayFallMapper.insert(record);
	}

	@Override
	public int insertSelective(ReplacementPayFall record) {
		return replacementPayFallMapper.insertSelective(record);
	}

	@Override
	public List<ReplacementPayFall> selectByExample(ReplacementPayFallExample example) {
		return replacementPayFallMapper.selectByExample(example);
	}

	@Override
	public ReplacementPayFall selectByPrimaryKey(String id) {
		return replacementPayFallMapper.selectByPrimaryKey(id);
	}

	@Override
	public ReplacementPayFall selectByOrderNo(String orderno) {
		return replacementPayFallMapper.selectByOrderNo(orderno);
	}

	@Override
	public int updateByExampleSelective(ReplacementPayFall record, ReplacementPayFallExample example) {
		return replacementPayFallMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(ReplacementPayFall record, ReplacementPayFallExample example) {
		return replacementPayFallMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(ReplacementPayFall record) {
		return replacementPayFallMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReplacementPayFall record) {
		return replacementPayFallMapper.updateByPrimaryKey(record);
	}
}
